package ctrl;

import java.util.Scanner;

public class froTest {
//判断能被7或者3整除的奇数
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		if((a%7==0||a%3==0)&&a%2!=0){
			System.out.println(a+"\t满足条件");
		}else{
			System.out.println("不满足");
		}
		sc.close();

	}

}
